package br.com.atenas.sigop.dao;

import java.sql.Connection;
import java.sql.DriverManager;
import java.sql.SQLException;

public class ConnectionFactory_Professor {
	
	public static Connection getConnection() throws ClassNotFoundException, SQLException{
		Class.forName("org.postgresql.Driver");
		String urlConexao = "jdbc:postgresql://192.168.1.24:5432/postgres";
		String usuario = "postgres";
		String senha = "postgres";
		Connection conn = DriverManager.getConnection(urlConexao,usuario,senha);
		return conn;
	}
}